Role

Individual — CFD Setup, Meshing & Post-Processing

Personal Project · ANSYS Fluent (Student)

Tools

ANSYS Fluent 2026 R1 (meshing & solver)
ANSYS CFD-Post

Key Contributions

  • Modeled and meshed a 200 mm × 3 m circular pipe in ANSYS Fluent, defining inlet, outlet, and wall boundaries through named selections
  • Hand-calculated Re ≈ 100 from the fluid properties to confirm laminar flow before selecting the viscous model
  • Solved the flow field and validated both the centerline velocity and the inlet-to-outlet pressure drop against the Hagen–Poiseuille analytical solution
  • Traced streamline tracers through the pipe in ANSYS CFD-Post, adapting an animation technique from a companion tutorial to visualize the profile in motion
100
Reynolds Number (Laminar)
200 mm
Pipe Diameter
1 → 1.79 m/s
Inlet → Centerline Velocity
200
Solver Iterations

This page walks through a laminar, incompressible flow-through-pipe simulation built end-to-end in ANSYS Fluent — geometry, meshing, boundary conditions, and solving — followed by a post-processing pass in ANSYS CFD-Post. A Design Decision callout examines a subtle boundary-condition choice and why it turned out not to affect the result.

Project Overview

I built a 3D circular pipe — 200 mm diameter, 3 m long — directly in Fluent's geometry editor, meshed it, and solved for steady, incompressible, laminar flow of a low-viscosity fluid entering at a uniform velocity. The goal was to trace the velocity profile as it develops from a flat inlet condition to a parabolic profile downstream, and to check the result against the classical analytical solution for laminar pipe flow.

Design Decision

Trade-off: Set the outlet pressure boundary condition to 101,325 Pa (1 atmosphere) rather than the more conventional 0 Pa gauge.

Why it doesn't matter here: Fluent's pressure boundary conditions are gauge values referenced against a separately-defined operating pressure (101,325 Pa by default), so specifying 101,325 Pa gauge effectively double-counts atmospheric pressure at the outlet. For an incompressible solve, though, only pressure gradients drive the momentum equations — the absolute reference level is arbitrary. The velocity field comes out identical either way; the only consequence is that the reported pressure contour is offset by a constant 101,325 Pa rather than reading 0 at the outlet. Worth knowing before trusting an absolute pressure reading from a Fluent post-process, but harmless for the velocity results this project cares about.

Verifying the Flow Regime

Before picking a viscous model in Fluent, I checked the Reynolds number by hand using the pipe diameter and fluid properties:

Re = ρVD / μ = (1)(1)(0.2) / (2×10-3) = 100

With Re = 100, well under the pipe-flow transition threshold of ≈2,300, the flow is solidly laminar — confirming the laminar viscous model was the right choice rather than invoking a turbulence closure the flow doesn't need.

Velocity Field Results

The inlet enters as a uniform plug profile at 1 m/s, dropping to exactly zero at the wall to satisfy the no-slip condition. Moving downstream, viscous shear reshapes that flat profile into the parabolic distribution characteristic of laminar pipe flow, with the centerline velocity climbing to 1.79 m/s by the outlet, 3 m downstream.

Velocity contour along the length of the pipe, showing the flat inlet profile developing into a parabolic profile downstream
Fig. 1: Velocity contour along the pipe — the entrance region (left) shows the profile narrowing and developing before settling into a steady parabolic band for the remainder of the pipe. Peak velocity: 1.786 m/s.

The contour makes the development region visible directly: the high-velocity core is narrower right at the inlet and widens over a short distance before the color band stabilizes for the rest of the pipe — a visual read on the flow becoming fully developed.

It's worth checking that number against theory. For fully-developed laminar pipe flow, the Hagen–Poiseuille solution predicts a parabolic profile with a centerline velocity of exactly twice the mean velocity:

vmax = 2 × vavg = 2 × 1 m/s = 2.0 m/s

The simulated 1.79 m/s comes in about 10% under that fully-developed value. The hydrodynamic entrance length for this case, Le ≈ 0.05·Re·D = 0.05(100)(0.2 m) = 1 m, says the profile should be essentially fully developed well before the 3 m outlet — so the gap is more likely attributable to the coarse default mesh and a modest 200-iteration run than to genuine entrance effects. A finer mesh and a tighter residual target would be the natural next step to close that gap.

Pressure Field Results

The same XY plane, now colored by static pressure instead of velocity, shows the field decreasing smoothly and monotonically from 101,330.82 Pa at the inlet to 101,325.00 Pa at the outlet. That outlet value lands almost exactly on the 101,325 Pa gauge pressure specified as the outlet boundary condition — the same setting discussed in the Design Decision above. The whole field sits in a narrow band clustered around atmospheric pressure, which is the point made there: the absolute level is just the outlet BC plus a near-constant offset, not a physically meaningful number on its own.

Pressure contour along the length of the pipe, decreasing smoothly from inlet to outlet
Fig. 2: Static pressure contour along the pipe — a smooth, linear-looking drop from 101,330.82 Pa at the inlet (red) to 101,325.00 Pa at the outlet (dark blue), with no local pressure spikes or recirculation signatures.

What is physically meaningful is the difference between those two numbers: a 5.82 Pa drop from inlet to outlet, which is the actual force per unit area pushing the fluid through the pipe against wall friction. Checked against the Hagen–Poiseuille friction-only prediction for fully-developed laminar flow:

ΔP = 32μLV / D² = 32(2×10-3)(3)(1) / (0.2)² = 4.8 Pa

The simulated 5.82 Pa runs about 20% above that estimate. That's consistent with the same entrance-length story from the velocity results, not a contradiction of it: accelerating the flow from a flat inlet profile into its parabolic shape takes additional pressure drop beyond what pure fully-developed wall friction accounts for, so some premium over the friction-only number is exactly what should show up while part of the pipe is still developing.

Extended Post-Processing: Streamlines in Motion

Beyond the static contours, I used ANSYS CFD-Post's animation tool to trace streamline tracers advecting through the pipe, colored by local velocity magnitude — a technique adapted from a companion Fluent tutorial covering pipe-flow post-processing. It turns the same parabolic-profile result from a static color gradient into something you watch happen: tracers riding the centerline streamlines (orange-red, near the 1.79 m/s peak) visibly pull ahead of the tracers running close to the wall (green, moving at a fraction of that speed), to the point that the fastest, centermost tracers have already exited the pipe while the slowest, wall-adjacent ones are still only partway down its length. It's the same physics as the velocity contour and the profile discussion above — viscous shear at the wall dragging the flow to zero while the core rushes ahead — just made directly visible as motion instead of inferred from a color scale.

Streamline tracers advecting from inlet to outlet, colored by velocity magnitude — centerline tracers finish well before the wall-adjacent ones catch up

Key Takeaways

Reynolds Number as a Design Gate

Computing Re by hand before touching the viscous-model dropdown turned a software setting into an engineering decision. Re ≈ 100 confirmed laminar flow was the physically correct choice, not just the simpler one.

No-Slip Condition Is Directly Visible

The velocity profile plots show the no-slip condition without needing to be told about it — velocity reads exactly zero at the wall in both the inlet and outlet profiles, a quick sanity check that the boundary conditions were applied correctly.

Absolute Pressure Level Doesn't Affect Incompressible Velocity Fields

Setting the outlet gauge pressure to 101,325 Pa instead of 0 Pa looked like an error at first glance, but for incompressible flow only pressure gradients matter. Understanding why a boundary condition choice doesn't break the physics is as valuable as getting the setting "right" in the first place.

Motion Reveals What a Static Contour Only Implies

The color contour shows the parabolic profile as a static gradient, but the streamline animation shows the same result as a race — centerline tracers finishing while wall-adjacent ones are still halfway down the pipe. Same physics, but the animation makes the magnitude of that speed difference viscerally obvious in a way a legend doesn't.

← Back to Simulations